
******************************************************************************
* Script Name:           com.ibm.tivoli.maximo.uitest.testcases.smoke.TC_SafetyPrecaution_01
* Script Author:         Devasmita Samaddar
* Script Description:    Safety Precautions Smoke Test
* Script Test Area:      Safety Precautions Application , Safety Hazards Application
* Test Server:           
* Test Client:           QAWINVM16/9.32.245.155
* Test Client OS:        WinNT Version 5.1  Build 2600 (S)
* Browser:               Internet Explorer
* Current Date and Time: Apr 1, 2012 7:21:53 AM
******************************************************************************
==============================================================================
* Testcase -  Start - Safety Precautions Smoke Test Case - Date: Apr 1, 2012  7:21:53 AM
==============================================================================
7:21:53 AM - 00:00:00:000 - PASS - Login being doing using the following information: web page: "http://qawin16.swg.usma.ibm.com:9996/maximo"; user: "XNUMYJEB"; password: "maximo"
7:22:31 AM - 00:00:38:766 - PASS - Load web page "http://qawin16.swg.usma.ibm.com:9996/maximo"
7:22:37 AM - 00:00:44:875 - PASS - Enter text "XNUMYJEB" in text field "username" (m)
7:22:39 AM - 00:00:46:469 - PASS - Enter text "maximo" in text field "password" (m)
7:22:41 AM - 00:00:48:641 - PASS - Page "Start Center" exist
Testcase - PASS - Safety Precautions Smoke Test Case
==============================================================================
* Testcase -  Start - Safety Precautions : Create New Safety Precautions Record - Date: Apr 1, 2012  7:22:43 AM
==============================================================================
==============================================================================
Go to "Planning -> Safety -> Precautions"
==============================================================================
7:22:44 AM - 00:00:51:234 - PASS - Select "Go To"
7:22:46 AM - 00:00:53:094 - PASS - Select menuitem "Planning"
7:22:48 AM - 00:00:55:828 - PASS - Select menuitem "Safety"
7:22:51 AM - 00:00:58:578 - PASS - Select menuitem "Precautions"
7:22:53 AM - 00:01:00:781 - PASS - Page "Precautions" exist
7:22:53 AM - 00:01:00:781 - PASS - "Planning -> Safety -> Precautions" is being displayed
7:22:55 AM - 00:01:02:547 - PASS - Select image "New Precaution    CTRL+ALT+I"
7:23:00 AM - 00:01:07:828 - PASS - Enter text "PREC2152" in "Precaution"
7:23:07 AM - 00:01:14:906 - PASS - Enter text "Precaution 1 : PREC2152" in "Description"
7:23:13 AM - 00:01:20:344 - PASS - Select image "Long Description" in text field "Precaution"
7:23:19 AM - 00:01:26:766 - PASS - Enter long description "PREC1 LD : PREC2152" in text field "Precaution"
7:23:20 AM - 00:01:27:094 - PASS - Select button "OK" on dialog. (input parameter button text was "OK")
7:23:24 AM - 00:01:31:688 - PASS - "Site": text = "SDW1B2KB"
7:23:26 AM - 00:01:33:172 - PASS - Select image "Save Precaution    CTRL+ALT+S"
Testcase - PASS - Safety Precautions : Create New Safety Precautions Record
==============================================================================
* Testcase -  Start - Safety Precautions : Associated Hazards Table - Date: Apr 1, 2012  7:23:27 AM
==============================================================================
7:23:29 AM - 00:01:36:047 - PASS - Find table "Associated Hazards"
7:23:29 AM - 00:01:36:234 - PASS - No rows are listed in the Associated Hazards table. User does not have the ability to add new rows.
Testcase - PASS - Safety Precautions : Associated Hazards Table
==============================================================================
* Testcase -  Start - Safety Precautions : Duplicate Precaution - Date: Apr 1, 2012  7:23:29 AM
==============================================================================
==============================================================================
Select Action menu
==============================================================================
7:23:32 AM - 00:01:39:109 - PASS - Select menuitem "Duplicate Precaution"
7:23:38 AM - 00:01:45:047 - PASS - Enter text "SM2152" in "Precaution"
7:23:42 AM - 00:01:49:547 - PASS - Select image "Save Precaution    CTRL+ALT+S"
7:23:46 AM - 00:01:53:453 - PASS - Select image "Long Description" in text field "Precaution"
7:23:49 AM - 00:01:56:078 - PASS - Find text in Long Description = "PREC1 LD : PREC2152"
7:23:49 AM - 00:01:56:234 - PASS - Select button "OK" on dialog "Long Description". (input parameter button text was "OK")
7:23:51 AM - 00:01:58:266 - PASS - Duplicate Precaution verification : Precaution Long Description is carried over
7:23:53 AM - 00:02:00:781 - PASS - Verify "Precaution Description" = "Precaution 1 : PREC2152"
7:23:56 AM - 00:02:03:344 - PASS - Verify "Site" = "SDW1B2KB"
7:23:56 AM - 00:02:03:781 - PASS - Like record PREC2152 , the Associated Hazards table displays zero rows.
Testcase - PASS - Safety Precautions : Duplicate Precaution
==============================================================================
* Testcase -  Start - Safety Precautions : Delete Precaution - Date: Apr 1, 2012  7:23:56 AM
==============================================================================
==============================================================================
Select Action menu
==============================================================================
7:23:59 AM - 00:02:06:734 - PASS - Select menuitem "Delete Precaution"
7:24:01 AM - 00:02:08:281 - PASS - Message "BMXAA4125I - Are you sure you want to delete this record?"
7:24:01 AM - 00:02:08:594 - PASS - Select button "Yes" on dialog "System Message". (input parameter button text was "Yes")
Testcase - PASS - Safety Precautions : Delete Precaution
==============================================================================
* Testcase -  Start - Safety Precautions : Associating Hazards to Precautions - Date: Apr 1, 2012  7:24:03 AM
==============================================================================
==============================================================================
Go to "Planning -> Safety -> Hazards"
==============================================================================
7:24:04 AM - 00:02:11:109 - PASS - Select "Go To"
7:24:06 AM - 00:02:13:078 - PASS - Select menuitem "Planning"
7:24:08 AM - 00:02:15:953 - PASS - Select menuitem "Safety"
7:24:11 AM - 00:02:18:875 - PASS - Select menuitem "Hazards"
7:24:14 AM - 00:02:21:141 - PASS - Page "Hazards" exist
7:24:14 AM - 00:02:21:141 - PASS - "Planning -> Safety -> Hazards" is being displayed
7:24:15 AM - 00:02:22:969 - PASS - Select image "New Hazard    CTRL+ALT+I"
7:24:21 AM - 00:02:28:391 - PASS - Enter text "SM2152" in "Hazard"
7:24:26 AM - 00:02:33:109 - PASS - Select image "Save Hazard    CTRL+ALT+S"
7:24:30 AM - 00:02:37:328 - PASS - Check "Can Have Precautions: unchecked"
7:24:34 AM - 00:02:41:297 - PASS - Select image "Save Hazard    CTRL+ALT+S"
==============================================================================
Open tab "Precautions"
==============================================================================
7:24:47 AM - 00:02:54:625 - PASS - Find table "Associated Precautions"
7:24:48 AM - 00:02:55:000 - PASS - Select button "New Row"
7:24:51 AM - 00:02:58:719 - PASS - Select image "Detail Menu" in field "Precaution"
7:24:53 AM - 00:03:00:766 - PASS - Select menuitem "Select Value"
7:24:56 AM - 00:03:03:078 - PASS - Select link value "PREC2152"
7:24:59 AM - 00:03:06:422 - PASS - Select image "Detail Menu" in field "Precaution"
7:25:01 AM - 00:03:08:453 - PASS - Select menuitem "Go To Precautions"
==============================================================================
Quick Find a record: "PREC2152"
==============================================================================
7:25:06 AM - 00:03:13:344 - PASS - Enter text "PREC2152" in text field "" (m)
7:25:07 AM - 00:03:14:766 - PASS - Select image "Quick Find"
7:25:11 AM - 00:03:18:766 - PASS - Find table "Associated Hazards"
7:25:12 AM - 00:03:19:016 - PASS - No rows are in the Associated Hazards table
7:25:12 AM - 00:03:19:344 - PASS - Select link "Return With Value"
7:25:17 AM - 00:03:24:797 - PASS - Select image "Save Hazard    CTRL+ALT+S"
7:25:21 AM - 00:03:28:094 - PASS - Find table "Associated Precautions"
7:25:23 AM - 00:03:30:844 - PASS - Verify row "PREC2152", column "Precaution" in table "Associated Precautions"
7:25:24 AM - 00:03:31:844 - PASS - Verify row "Precaution 1 : PREC2152", column "Description" in table "Associated Precautions"
7:25:27 AM - 00:03:34:422 - PASS - Select image "Long Description" in text field "Precaution"
7:25:30 AM - 00:03:37:672 - PASS - Find text in Long Description = "PREC1 LD : PREC2152"
7:25:30 AM - 00:03:37:844 - PASS - Select button "OK" on dialog "Long Description". (input parameter button text was "OK")
7:25:32 AM - 00:03:39:938 - PASS - Return With Value of Precaution in Hazards app verification : Precaution Long Description is carried over
7:25:33 AM - 00:03:40:922 - PASS - Verify row "SDW1B2KB", column "Site" in table "Associated Precautions"
7:25:35 AM - 00:03:42:938 - PASS - Select image "Detail Menu" in field "Precaution"
7:25:37 AM - 00:03:44:922 - PASS - Select menuitem "Go To Precautions"
7:25:41 AM - 00:03:48:125 - PASS - Verify row "SM2152", column "Associated Hazard" in table "Associated Hazards"
7:25:41 AM - 00:03:48:438 - PASS - Select link "Return"
==============================================================================
Sign out
==============================================================================
7:25:44 AM - 00:03:51:328 - PASS - Select link "Sign Out"
7:25:46 AM - 00:03:53:031 - PASS - Page "Welcome to Maximo" exist
Testcase - PASS - Safety Precautions : Associating Hazards to Precautions
******************************************************************************
* Testcases Executed:              6
* Testcases Passed:                6
* Testcases Failed:                0
* Percent Testcases Passed:        100.0%
* Percent Testcases Failed:        0.0%
* Number of Test Actions Executed: 72
* Number of Errors found:          0
* Elapsed Time:                    00:03:53:031
******************************************************************************